Emmet Style Reflector
Reflect Emmet HTML expansion in Sass/LESS
Details
Installs
- Total 300K
- Win 249K
- Mac 34K
- Linux 17K
Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 3 | 12 | 5 | 2 | 1 | 8 | 4 | 6 | 5 | 8 | 4 | 3 | 3 | 9 | 4 | 8 | 8 | 3 | 7 | 13 | 5 | 8 | 3 | 3 | 8 | 6 | 10 | 7 | 8 | 8 | 1 | 1 | 3 | 8 | 2 | 7 | 8 | 4 | 4 | 5 | 5 | 7 | 4 | 7 | 3 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 3 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
emmet-style-reflector
Dependency
Obviously, Emmet
Description
Reflect Emmet HTML expansion in Sass/LESS
How to use
Changelogs
v1.0.2
- tag without class and id will have “>”
Expansions tested
- Child:
#first>ul>li
#first {
>ul {
>li {
}
}
}
- Sibling:
div+p+blockquote
>div {
}
>p {
}
>blockquote {
}
- Climb-up:
#first+#second>p>span+em^blockquote
#first {
}
#second {
>p {
>span {
}
>em {
}
}
>blockquote {
}
}
- Grouping:
#first>(header>ul>li*2>a)+footer>p
#first {
header {
>ul {
>li {
>a {
}
}
}
}
footer {
>p {
}
}
}
- Video demo:
header>(ul#menu>li*5>a)^div#home>div.rensponsive960>div.box>div.title+div.body
header {
#menu {
>li {
>a {
}
}
}
}
#home {
.rensponsive960 {
.box {
.title {
}
.body {
}
}
}
}
- Extreme:
#first>(header[title="Hello world!"]>ul#menu>li.menuItem$@-*5>a)+footer{bla bla bla}^script
#first {
header {
#menu {
.menuItem {
>a {
}
}
}
}
footer {
}
}
script {
}